package cn.oms.file.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("file_print_record")
@ApiModel(value="PrintRecord对象", description="")
public class PrintRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文件打印ID（新增生成） UUID")
    @TableField("PRINT_ID")
    private String printId;

    @ApiModelProperty(value = "文件名称")
    @TableField("PRINT_FILE_NAME")
    private String printFileName;

    @ApiModelProperty(value = "文件后缀")
    @TableField("PRINT_FILE_SUFFIX")
    private String printFileSuffix;

    @ApiModelProperty(value = "操作人ID（对应用户表用户ID）")
    @TableField("OPERATION_MAN_ID")
    private String operationManId;

    @ApiModelProperty(value = "操作人角色")
    @TableField("OPERATION_MAN_ROLE")
    private String operationManRole;

    @ApiModelProperty(value = "操作人姓名")
    @TableField("OPERATION_MAN_NAME")
    private String operationManName;

    @ApiModelProperty(value = "文件存储地址")
    @TableField("FILE_LOCAL_STORAGE_LOCATION")
    private String fileLocalStorageLocation;

    @ApiModelProperty(value = "前端访问地址")
    @TableField("FILE_WEB_ACCESS_ADDRESS")
    private String fileWebAccessAddress;

    @ApiModelProperty(value = "打印标记（0失败  1成功）")
    @TableField("PRINT_FLAG")
    private Integer printFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
